package com.younion.vo;

import cpcns.component.common.base.BaseVO;
import cpcns.persister.converter.IDomainObject;

import java.util.Date;

public class MemberCardVO extends BaseVO implements IDomainObject, Cloneable {

	private static final long serialVersionUID = -1L;
	private Integer id;
	private String schemeCode;// 会员卡方案编码
	private String cardCode;// 会员卡编码
	private Integer cardId;//会员卡编号
	private Integer userId;// 用户编号
	private String memberName;// 会员名
	private String memberPhone;// 会员手机
	private String memberEmail;// 会员Email
	private String memberQq;// 会员QQ
	private String memberAddress;// 会员联系地址
	private String membeIdCard;// 会员身份证号
	private Integer memberSex;// 会员性别
	private Date memberBirth;// 会员出生日期
	private Double cardBalance;// 会员卡余额
	private Integer cardMeteringAmount;// 会员卡计次数量
	private Integer cardCouponAmount;// 会员卡优惠券数量
	private Integer isMobileUser;// 是否手机会员卡用户
	private Integer score;// 积分
	private Integer isAllowPush;// 是否允许推送
	private String extendedField1;
	private String extendedField2;
	private String extendedField3;
	private String extendedField4;
	private String extendedField5;
	private String extendedField6;
	private String extendedField7;
	private String extendedField8;
	private String extendedField9;
	private String extendedField10;
	private Integer customerId;
	private String customerName;
	private Date addTime;//添加日期
	private Integer firedRuleId;
	private Integer feedBackCount;
	private Integer hasRecharged;
	private Date lastFeedBackDate;
	
	private Integer yiweiquickSearch;//快捷查询：0今日生日,1明天生日,2本周生日,3今日新增,4本周新增,5超过30天未消费
	
	private Date expiryDateFrom;//有效期开始
	private Date expiryDateTo;//有效期截止
	private Date gtaddTime;
	private Date ltaddTime;
	
	private Double gtcardBalance;
	private Double ltcardBalance;
	private Integer gtscore;
	private Integer ltscore;
	private Integer gtcardCouponAmount;
	private Integer ltcardCouponAmount;
	private Integer gtcardMeteringAmount;
	private Integer ltcardMeteringAmount;
	
	private CustomerVO customerVO;
	
	private Integer sendType;//发卡方式 0为商家发放 1为自主申请

	public MemberCardVO() {
	}

	public MemberCardVO(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSchemeCode() {
		return schemeCode;
	}

	public void setSchemeCode(String schemeCode) {
		this.schemeCode = schemeCode;
	}

	public String getCardCode() {
		return cardCode;
	}

	public void setCardCode(String cardCode) {
		this.cardCode = cardCode;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getMemberPhone() {
		return memberPhone;
	}

	public void setMemberPhone(String memberPhone) {
		this.memberPhone = memberPhone;
	}

	public String getMemberEmail() {
		return memberEmail;
	}

	public void setMemberEmail(String memberEmail) {
		this.memberEmail = memberEmail;
	}

	public String getMemberQq() {
		return memberQq;
	}

	public void setMemberQq(String memberQq) {
		this.memberQq = memberQq;
	}

	public String getMemberAddress() {
		return memberAddress;
	}

	public void setMemberAddress(String memberAddress) {
		this.memberAddress = memberAddress;
	}

	public String getMembeIdCard() {
		return membeIdCard;
	}

	public void setMembeIdCard(String membeIdCard) {
		this.membeIdCard = membeIdCard;
	}

	public Integer getMemberSex() {
		return memberSex;
	}

	public void setMemberSex(Integer memberSex) {
		this.memberSex = memberSex;
	}

	public Date getMemberBirth() {
		return memberBirth;
	}

	public void setMemberBirth(Date memberBirth) {
		this.memberBirth = memberBirth;
	}

	public Double getCardBalance() {
		return cardBalance;
	}

	public void setCardBalance(Double cardBalance) {
		this.cardBalance = cardBalance;
	}

	public Integer getCardMeteringAmount() {
		return cardMeteringAmount;
	}

	public void setCardMeteringAmount(Integer cardMeteringAmount) {
		this.cardMeteringAmount = cardMeteringAmount;
	}

	public Integer getCardCouponAmount() {
		return cardCouponAmount;
	}

	public void setCardCouponAmount(Integer cardCouponAmount) {
		this.cardCouponAmount = cardCouponAmount;
	}

	public Integer getIsMobileUser() {
		return isMobileUser;
	}

	public void setIsMobileUser(Integer isMobileUser) {
		this.isMobileUser = isMobileUser;
	}

	public String getExtendedField1() {
		return extendedField1;
	}

	public void setExtendedField1(String extendedField1) {
		this.extendedField1 = extendedField1;
	}

	public String getExtendedField2() {
		return extendedField2;
	}

	public void setExtendedField2(String extendedField2) {
		this.extendedField2 = extendedField2;
	}

	public String getExtendedField3() {
		return extendedField3;
	}

	public void setExtendedField3(String extendedField3) {
		this.extendedField3 = extendedField3;
	}

	public String getExtendedField4() {
		return extendedField4;
	}

	public void setExtendedField4(String extendedField4) {
		this.extendedField4 = extendedField4;
	}

	public String getExtendedField5() {
		return extendedField5;
	}

	public void setExtendedField5(String extendedField5) {
		this.extendedField5 = extendedField5;
	}

	public String getExtendedField6() {
		return extendedField6;
	}

	public void setExtendedField6(String extendedField6) {
		this.extendedField6 = extendedField6;
	}

	public String getExtendedField7() {
		return extendedField7;
	}

	public void setExtendedField7(String extendedField7) {
		this.extendedField7 = extendedField7;
	}

	public String getExtendedField8() {
		return extendedField8;
	}

	public void setExtendedField8(String extendedField8) {
		this.extendedField8 = extendedField8;
	}

	public String getExtendedField9() {
		return extendedField9;
	}

	public void setExtendedField9(String extendedField9) {
		this.extendedField9 = extendedField9;
	}

	public String getExtendedField10() {
		return extendedField10;
	}

	public void setExtendedField10(String extendedField10) {
		this.extendedField10 = extendedField10;
	}

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getIsAllowPush() {
		return isAllowPush;
	}

	public void setIsAllowPush(Integer isAllowPush) {
		this.isAllowPush = isAllowPush;
	}

	public Integer getYiweiquickSearch() {
		return yiweiquickSearch;
	}

	public void setYiweiquickSearch(Integer yiweiquickSearch) {
		this.yiweiquickSearch = yiweiquickSearch;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Integer getCardId() {
		return cardId;
	}

	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}

	public Integer getFiredRuleId() {
		return firedRuleId;
	}

	public void setFiredRuleId(Integer firedRuleId) {
		this.firedRuleId = firedRuleId;
	}

	public Integer getFeedBackCount() {
		return feedBackCount;
	}

	public void setFeedBackCount(Integer feedBackCount) {
		this.feedBackCount = feedBackCount;
	}


	public Date getExpiryDateTo() {
		return expiryDateTo;
	}

	public void setExpiryDateTo(Date expiryDateTo) {
		this.expiryDateTo = expiryDateTo;
	}

	public Integer getHasRecharged() {
		return hasRecharged;
	}

	public void setHasRecharged(Integer hasRecharged) {
		this.hasRecharged = hasRecharged;
	}

	public Date getExpiryDateFrom() {
		return expiryDateFrom;
	}

	public void setExpiryDateFrom(Date expiryDateFrom) {
		this.expiryDateFrom = expiryDateFrom;
	}

	public Date getGtaddTime() {
		return gtaddTime;
	}

	public void setGtaddTime(Date gtaddTime) {
		this.gtaddTime = gtaddTime;
	}

	public Date getLtaddTime() {
		return ltaddTime;
	}

	public void setLtaddTime(Date ltaddTime) {
		this.ltaddTime = ltaddTime;
	}

	public Double getGtcardBalance() {
		return gtcardBalance;
	}

	public void setGtcardBalance(Double gtcardBalance) {
		this.gtcardBalance = gtcardBalance;
	}

	public Double getLtcardBalance() {
		return ltcardBalance;
	}

	public void setLtcardBalance(Double ltcardBalance) {
		this.ltcardBalance = ltcardBalance;
	}

	public Integer getGtscore() {
		return gtscore;
	}

	public void setGtscore(Integer gtscore) {
		this.gtscore = gtscore;
	}

	public Integer getLtscore() {
		return ltscore;
	}

	public void setLtscore(Integer ltscore) {
		this.ltscore = ltscore;
	}

	public Integer getGtcardCouponAmount() {
		return gtcardCouponAmount;
	}

	public void setGtcardCouponAmount(Integer gtcardCouponAmount) {
		this.gtcardCouponAmount = gtcardCouponAmount;
	}

	public Integer getLtcardCouponAmount() {
		return ltcardCouponAmount;
	}

	public void setLtcardCouponAmount(Integer ltcardCouponAmount) {
		this.ltcardCouponAmount = ltcardCouponAmount;
	}

	public Integer getGtcardMeteringAmount() {
		return gtcardMeteringAmount;
	}

	public void setGtcardMeteringAmount(Integer gtcardMeteringAmount) {
		this.gtcardMeteringAmount = gtcardMeteringAmount;
	}

	public Integer getLtcardMeteringAmount() {
		return ltcardMeteringAmount;
	}

	public void setLtcardMeteringAmount(Integer ltcardMeteringAmount) {
		this.ltcardMeteringAmount = ltcardMeteringAmount;
	}

	public CustomerVO getCustomerVO() {
		return customerVO;
	}

	public void setCustomerVO(CustomerVO customerVO) {
		this.customerVO = customerVO;
	}

	public Integer getSendType() {
		return sendType;
	}

	public void setSendType(Integer sendType) {
		this.sendType = sendType;
	}
	 public boolean equals(Object anObject) {
		 if (this == anObject) {
		     return true;
		 }
		 MemberCardVO obj = (MemberCardVO)anObject;
		 if(this.getMembeIdCard().equals(obj))
			 return true;
		 return false;
	}

	public Date getLastFeedBackDate() {
		return lastFeedBackDate;
	}

	public void setLastFeedBackDate(Date lastFeedBackDate) {
		this.lastFeedBackDate = lastFeedBackDate;
	}
	 
	 
}
